package com.dowsure.apisaas.model;

import com.dowsure.apisaas.annotation.RequestParamValidated;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @description: 传输每日逾期数据请求参数
 * @author: Dowsure
 * @create: 2022-02-21 18:01
 **/
@Data
public class LoanOverdueDataRequestParams {

    /**
     * Dowsure 卖家申请单编号
     */
    @RequestParamValidated(required = true, msg = "Dowsure 卖家申请单编号", maxLen = 32)
    private String applicationCode;

    /**
     * 当前期数
     */
    @RequestParamValidated(required = true, msg = "当前期数")
    private Integer currentTerm;

    /**
     * 用户侧贷款编号
     */
    @RequestParamValidated(required = true, msg = "用户侧贷款编号", maxLen = 32)
    private String loanCode;

    /**
     * loanContractNo
     */
    @RequestParamValidated(msg = "loanContractNo", maxLen = 32)
    private String loanContractNo;

    /**
     * overduePrincipal
     */
    @RequestParamValidated(required = true, msg = "overduePrincipal")
    private BigDecimal overduePrincipal;

    /**
     * overdueInterest
     */
    @RequestParamValidated(required = true, msg = "overdueInterest")
    private BigDecimal overdueInterest;

    /**
     * overdueAmount
     */
    @RequestParamValidated(required = true, msg = "overdueAmount")
    private BigDecimal overdueAmount;
}
